﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Enterprise.UI.Web.Modules.Jihuabu
{
    public partial class M01_JsCreate : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(t_s1.Text))
            {
                t_s1.Text = "2012-01-01";
            }
            if (string.IsNullOrEmpty(t_s2.Text))
            {
                t_s2.Text = "2014-01-01";
            }
            if (string.IsNullOrEmpty(t_qujian.Text))
            {
                t_qujian.Text = "0,50,110";
            }

            t_js.Text = "<a href='M01_Js.aspx?s1=" + t_s1.Text + "&s2=" + t_s2.Text + "&splitstr="+t_qujian.Text+"&type="+DropDownList1.SelectedValue+"'>点击查看</a>";


            lt_preview.Text = t_js.Text;
        }
    }
}